package com.zzdn.mqtool.entity;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@ConfigurationProperties(prefix="mqconfig")
@Component
public class MQConfig {

    private String bankCode;

    private String mqServerURL;

    private int mqServerPort;

    private String mqServerChannel;

    private String mqServerName;

    private String sendQueueName;

    private String receiveQueueName;

    private String remoteQueueName;

    public String getBankCode() {
        return bankCode;
    }

    public void setBankCode(String bankCode) {
        this.bankCode = bankCode;
    }

    public String getMqServerURL() {
        return mqServerURL;
    }

    public void setMqServerURL(String mqServerURL) {
        this.mqServerURL = mqServerURL;
    }

    public int getMqServerPort() {
        return mqServerPort;
    }

    public void setMqServerPort(int mqServerPort) {
        this.mqServerPort = mqServerPort;
    }

    public String getMqServerChannel() {
        return mqServerChannel;
    }

    public void setMqServerChannel(String mqServerChannel) {
        this.mqServerChannel = mqServerChannel;
    }

    public String getMqServerName() {
        return mqServerName;
    }

    public void setMqServerName(String mqServerName) {
        this.mqServerName = mqServerName;
    }

    public String getSendQueueName() {
        return sendQueueName;
    }

    public void setSendQueueName(String sendQueueName) {
        this.sendQueueName = sendQueueName;
    }

    public String getReceiveQueueName() {
        return receiveQueueName;
    }

    public void setReceiveQueueName(String receiveQueueName) {
        this.receiveQueueName = receiveQueueName;
    }

    public String getRemoteQueueName() {
        return remoteQueueName;
    }

    public void setRemoteQueueName(String remoteQueueName) {
        this.remoteQueueName = remoteQueueName;
    }

    @Override
    public String toString() {
        return "MQConfig{" +
                "bankCode='" + bankCode + '\'' +
                ", mqServerURL='" + mqServerURL + '\'' +
                ", mqServerPort=" + mqServerPort +
                ", mqServerChannel='" + mqServerChannel + '\'' +
                ", mqServerName='" + mqServerName + '\'' +
                ", sendQueueName='" + sendQueueName + '\'' +
                ", receiveQueueName='" + receiveQueueName + '\'' +
                ", remoteQueueName='" + remoteQueueName + '\'' +
                '}';
    }
}
